package com.digitalart.futbol.tld.template;

import java.io.IOException;

import javax.servlet.jsp.tagext.TagSupport;

public class ContentHolder extends TagSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String holderId;

	public void setHolderId(String pId) {
		holderId = pId;
	}
	@Override
	public int doStartTag() {
		return EVAL_BODY_INCLUDE;
	}
	@Override
	public int doEndTag() {
		try {
			pageContext.getOut().print("<HOLDER:" + holderId +"/>" );
		} catch (IOException e) {
			e.printStackTrace();
		}
		return EVAL_PAGE;
	}

	 
	


}
